//
//  CTMediator+SettingsPage.m
//  SettingsPage_Category
//
//  Created by CPX on 2018/6/19.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "CTMediator+SettingsPage.h"

@implementation CTMediator (SettingsPage)

- (UIViewController *)SettingsPage_settingsViewController
{
    /*
     AViewController *viewController = [[AViewController alloc] init];
     */
    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    UIViewController *ctr = [self performTarget:@"SettingsPage" action:@"viewController" params:params shouldCacheTarget:NO];
    if(!ctr) ctr = [UIViewController new];
    return ctr;
}

- (void)SettingsPage_saveTrans:(id)trans{
    [self performTarget:@"SettingsPage" action:@"saveTrans" params:@{@"trans":trans} shouldCacheTarget:NO];
}

@end
